package com.msb.api.feign.search;

import com.msb.common.vo.CommonResult;
import com.msb.mall.core.vo.ESModel.SkuESModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(
        name = "mall-search", path = "/mall-search"
)
public interface SearchFeginService {

    @PostMapping("/search/save/product")
    CommonResult productStatusUp(@RequestBody List<SkuESModel> skuESModels);
}


